package com.imooc.service.impl;

import org.springframework.stereotype.Service;

import com.imooc.service.HelloService;

/**
 * 3.5.6 为了测试自定义validator注解写的service
 * @author qilongfei
 *
 */
@Service
public class HelloServiceImpl implements HelloService{

	@Override
	public String greeting(String name) {
		System.out.println("greeting");
		return "hello "+ name;
	}

}
